export default {
	//过滤价格
	filters: {
		goods_price(val) {
			if (val == 0) {
				val = 1500
			}
			return Number(val).toFixed(2)
		}
	},
	methods: {
		getPrice() {
			if (this.cartList) {
				this.cartList.forEach(item => {
					if (item.goods_price == 0) {
						item.goods_price = 1500.00
					}
				})
			}

		}
	}
}